package com.iplant.wms.service.po.brm;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;
import com.iplant.base.po.enums.DBSchemas;
import com.iplant.base.utils.annotation.po.DBBasePO;
import com.iplant.base.utils.annotation.condition.DBCondition;
import com.iplant.base.utils.annotation.field.DBField;

import java.io.Serializable;

;

/**
 * 抽样规则
 *
 * @author ShrisJava
 */
@DBBasePO(TableName = "brm_samplerule",  CheckName = {"Code","Name"},
        Schemas = DBSchemas.WMS,CodeAuto = true,CodePrefix = "BSER-")
public class BRMSampleRule extends BasePO implements Serializable {
    private static final long serialVersionUID = 1L;

    @DBCondition
    @DBField
    public int ASNEnable = 0;

    @JsonProperty("ASNEnable")
    public int getASNEnable() {
        return ASNEnable;
    }

    public void setASNEnable(int ASNEnable) {
        this.ASNEnable = ASNEnable;
    }
}
